package com.wenhai.springbook.lookupmethod;

import org.springframework.beans.factory.support.AbstractBeanDefinition;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * {@link AbstractBeanDefinition#constructorArgumentValues} replacedMethod 示例
 *
 * @author wenhai
 * @date   2020/10/8
 */
public class ConstructorArgDemo {
    public static void main(String[] args) {
        ApplicationContext ctx = new ClassPathXmlApplicationContext("constructor-arg.xml");
        ctx.getBean("constructorBean",ConstructorBean.class);
    }
}
